export default {
  state: () => ({
    panelSearchPage: sessionStorage.getItem('panel-search-state'),
  }),
  getters: {
    getSwitchPage(state) {
      return state.panelSearchPage
    },
  },
  mutations: {
    setSwitchPage (state, { page }) {
      sessionStorage.setItem('panel-search-state', page)
    },
  },
}